package itsm.isperp.framework.template;

/**
 * 
 * 模板异常
 * 
 * @author lizx
 * @date 2013-9-1
 * @since 1.0
 * 
 */
public class TemplateException extends Exception {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Template template;

	public TemplateException(String message, Template template) {
		this(message, template, null);
	}

	public TemplateException(String message, Template template, Throwable cause) {
		super(message, cause);
		this.template = template;
	}

	public Template getTemplate() {
		return template;
	}

}